
#ifndef __EVENTRPC_SOCKET_UTILITY_H__
#define __EVENTRPC_SOCKET_UTILITY_H__

namespace eventrpc {
  int Connect(const char *ip, int port);

  int Listen(const char *ip, int port);

  int SetNonBlocking(int fd);
};

#endif  //  __EVENTRPC_SOCKET_UTILITY_H__
